package com.example.test1.log.bean;

import com.example.test1.log.enums.LogSeverity;
import eu.bitwalker.useragentutils.UserAgent;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class OperationLog {
    private long tranceId;
    private String source;
    private LogSeverity severity;
    private String operName;
    private boolean isPersistence;

    private String url;
    private String method;
    private String remoteAddr;
    private String requestMethod;
    private String args;
    private UserAgent userAgent;
    private Object result;
    private long startTime;
    private long endTime;
}
